//
//  ForgetVC.swift
//  DollarBuy
//
//  Created by 郑东喜 on 2016/11/7.
//  Copyright © 2016年 郑东喜. All rights reserved.
//  忘记密码

import UIKit

class ForgetVC: MeBaseViewController {
    
    //手机号
    @IBOutlet weak var tfNum: UITextField!

    //验证码
    @IBOutlet weak var tfAuto: UITextField!
    
    //密码
    @IBOutlet weak var tfPass: UITextField!
    
    //确认密码
    @IBOutlet weak var tfConfirmPass: UITextField!

    //发送验证码
    @IBAction func sendAuto(_ sender: UIButton) {
        print("\((#file as NSString).lastPathComponent):(\(#line)):(\("发送验证码")))")
        
        self.sendForgetAuto(tfNum: self.tfNum)
    }
    
    //修改密码
    @IBAction func changePassSEL(_ sender: UIButton) {
        print("\((#file as NSString).lastPathComponent):(\(#line)):(\("修改密码")))")
        
        self.forgetPass(tfNum: self.tfNum, tfAuto: self.tfAuto, tfPass: self.tfPass, tfConfirmPass: self.tfConfirmPass)

    }
    
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
}
